# -*- coding: utf-8 -*-

# Form implementation generated from reading ui file 'dialogs/ruleDialog.ui'
#
# Created: Fri May 27 14:55:52 2011
#      by: PyQt4 UI code generator 4.8.3
#
# WARNING! All changes made in this file will be lost!

from PyQt4 import QtCore, QtGui

try:
    _fromUtf8 = QtCore.QString.fromUtf8
except AttributeError:
    _fromUtf8 = lambda s: s

class Ui_RuleDialog(object):
    def setupUi(self, RuleDialog):
        RuleDialog.setObjectName(_fromUtf8("RuleDialog"))
        RuleDialog.resize(437, 384)
        self.formLayout = QtGui.QFormLayout(RuleDialog)
        self.formLayout.setFieldGrowthPolicy(QtGui.QFormLayout.ExpandingFieldsGrow)
        self.formLayout.setObjectName(_fromUtf8("formLayout"))
        self.nameLabel = QtGui.QLabel(RuleDialog)
        self.nameLabel.setObjectName(_fromUtf8("nameLabel"))
        self.formLayout.setWidget(0, QtGui.QFormLayout.LabelRole, self.nameLabel)
        self.name = QtGui.QLineEdit(RuleDialog)
        self.name.setObjectName(_fromUtf8("name"))
        self.formLayout.setWidget(0, QtGui.QFormLayout.FieldRole, self.name)
        self.goalsLabel = QtGui.QLabel(RuleDialog)
        self.goalsLabel.setObjectName(_fromUtf8("goalsLabel"))
        self.formLayout.setWidget(1, QtGui.QFormLayout.LabelRole, self.goalsLabel)
        self.horizontalLayout = QtGui.QHBoxLayout()
        self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
        self.addGoal = QtGui.QPushButton(RuleDialog)
        self.addGoal.setObjectName(_fromUtf8("addGoal"))
        self.horizontalLayout.addWidget(self.addGoal)
        self.removeGoal = QtGui.QPushButton(RuleDialog)
        self.removeGoal.setObjectName(_fromUtf8("removeGoal"))
        self.horizontalLayout.addWidget(self.removeGoal)
        self.formLayout.setLayout(2, QtGui.QFormLayout.FieldRole, self.horizontalLayout)
        self.buttonBox = QtGui.QDialogButtonBox(RuleDialog)
        self.buttonBox.setLocale(QtCore.QLocale(QtCore.QLocale.Polish, QtCore.QLocale.Poland))
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel|QtGui.QDialogButtonBox.Ok)
        self.buttonBox.setObjectName(_fromUtf8("buttonBox"))
        self.formLayout.setWidget(7, QtGui.QFormLayout.FieldRole, self.buttonBox)
        self.goalsList = QtGui.QListWidget(RuleDialog)
        self.goalsList.setObjectName(_fromUtf8("goalsList"))
        self.formLayout.setWidget(1, QtGui.QFormLayout.FieldRole, self.goalsList)
        self.costLabel = QtGui.QLabel(RuleDialog)
        self.costLabel.setObjectName(_fromUtf8("costLabel"))
        self.formLayout.setWidget(3, QtGui.QFormLayout.LabelRole, self.costLabel)
        self.costList = QtGui.QListWidget(RuleDialog)
        self.costList.setObjectName(_fromUtf8("costList"))
        self.formLayout.setWidget(3, QtGui.QFormLayout.FieldRole, self.costList)
        self.horizontalLayout_2 = QtGui.QHBoxLayout()
        self.horizontalLayout_2.setObjectName(_fromUtf8("horizontalLayout_2"))
        self.addCost = QtGui.QPushButton(RuleDialog)
        self.addCost.setObjectName(_fromUtf8("addCost"))
        self.horizontalLayout_2.addWidget(self.addCost)
        self.removeCost = QtGui.QPushButton(RuleDialog)
        self.removeCost.setObjectName(_fromUtf8("removeCost"))
        self.horizontalLayout_2.addWidget(self.removeCost)
        self.formLayout.setLayout(4, QtGui.QFormLayout.FieldRole, self.horizontalLayout_2)
        self.conditionsList = QtGui.QListWidget(RuleDialog)
        self.conditionsList.setObjectName(_fromUtf8("conditionsList"))
        self.formLayout.setWidget(5, QtGui.QFormLayout.FieldRole, self.conditionsList)
        self.label = QtGui.QLabel(RuleDialog)
        self.label.setObjectName(_fromUtf8("label"))
        self.formLayout.setWidget(5, QtGui.QFormLayout.LabelRole, self.label)
        self.horizontalLayout_3 = QtGui.QHBoxLayout()
        self.horizontalLayout_3.setObjectName(_fromUtf8("horizontalLayout_3"))
        self.addCondition = QtGui.QPushButton(RuleDialog)
        self.addCondition.setObjectName(_fromUtf8("addCondition"))
        self.horizontalLayout_3.addWidget(self.addCondition)
        self.removeCondtion = QtGui.QPushButton(RuleDialog)
        self.removeCondtion.setObjectName(_fromUtf8("removeCondtion"))
        self.horizontalLayout_3.addWidget(self.removeCondtion)
        self.formLayout.setLayout(6, QtGui.QFormLayout.FieldRole, self.horizontalLayout_3)
        self.actionAddProperty = QtGui.QAction(RuleDialog)
        self.actionAddProperty.setObjectName(_fromUtf8("actionAddProperty"))

        self.retranslateUi(RuleDialog)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("accepted()")), RuleDialog.accept)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("rejected()")), RuleDialog.reject)
        QtCore.QMetaObject.connectSlotsByName(RuleDialog)

    def retranslateUi(self, RuleDialog):
        RuleDialog.setWindowTitle(QtGui.QApplication.translate("RuleDialog", "Rule", None, QtGui.QApplication.UnicodeUTF8))
        self.nameLabel.setText(QtGui.QApplication.translate("RuleDialog", "Name", None, QtGui.QApplication.UnicodeUTF8))
        self.goalsLabel.setText(QtGui.QApplication.translate("RuleDialog", "Goals", None, QtGui.QApplication.UnicodeUTF8))
        self.addGoal.setText(QtGui.QApplication.translate("RuleDialog", "Add goal", None, QtGui.QApplication.UnicodeUTF8))
        self.removeGoal.setText(QtGui.QApplication.translate("RuleDialog", "Remove goal(s)", None, QtGui.QApplication.UnicodeUTF8))
        self.costLabel.setText(QtGui.QApplication.translate("RuleDialog", "Cost", None, QtGui.QApplication.UnicodeUTF8))
        self.addCost.setText(QtGui.QApplication.translate("RuleDialog", "Add cost", None, QtGui.QApplication.UnicodeUTF8))
        self.removeCost.setText(QtGui.QApplication.translate("RuleDialog", "Remove cost(s)", None, QtGui.QApplication.UnicodeUTF8))
        self.label.setText(QtGui.QApplication.translate("RuleDialog", "Conditions", None, QtGui.QApplication.UnicodeUTF8))
        self.addCondition.setText(QtGui.QApplication.translate("RuleDialog", "Add condition", None, QtGui.QApplication.UnicodeUTF8))
        self.removeCondtion.setText(QtGui.QApplication.translate("RuleDialog", "Remove condition(s)", None, QtGui.QApplication.UnicodeUTF8))
        self.actionAddProperty.setText(QtGui.QApplication.translate("RuleDialog", "AddProperty", None, QtGui.QApplication.UnicodeUTF8))

